gtk4.git
5 years agovulkan: Improve rounded rect clipping
Benjamin Otte [Sat, 6 Mar 2021 19:44:38 +0000 (20:44 +0100)]
vulkan: Improve rounded rect clipping

Handle the case where the inner rounded rect is fully contained
within the outer rounded rect.

5 years agovulkan: Fix invalid read
Benjamin Otte [Sat, 6 Mar 2021 19:43:52 +0000 (20:43 +0100)]
vulkan: Fix invalid read

Look at the right rect to compute circularness

5 years agoMerge branch 'meson-override-dep' into 'master'
Matthias Clasen [Tue, 9 Mar 2021 03:00:18 +0000 (03:00 +0000)]
Merge branch 'meson-override-dep' into 'master'

meson: override gtk4 dependency

See merge request GNOME/gtk!3277

5 years agomeson: override gtk4 dependency
Xavier Claessens [Tue, 9 Mar 2021 02:06:33 +0000 (21:06 -0500)]
meson: override gtk4 dependency

This allows applications that depends on gtk4 to build it as subproject
without hardcoding 'gtk_dep' variable name in their build definition.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 9 Mar 2021 00:12:11 +0000 (00:12 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!3276

5 years agoMerge branch 'bilelmoussaoui/size-request-annotations' into 'master'
Matthias Clasen [Mon, 8 Mar 2021 23:07:18 +0000 (23:07 +0000)]
Merge branch 'bilelmoussaoui/size-request-annotations' into 'master'

g-i: update distribute_natural_allocation annotation

See merge request GNOME/gtk!3271

5 years agonode-format: Small docs fixes
Matthias Clasen [Mon, 8 Mar 2021 21:04:53 +0000 (16:04 -0500)]
node-format: Small docs fixes

5 years agospinbutton: Interpret localized digits
Matthias Clasen [Tue, 24 Nov 2020 18:42:29 +0000 (13:42 -0500)]
spinbutton: Interpret localized digits

Interpret input where the characters have numeric values.

See #3387

5 years agoMerge branch 'ngl-clip-classification' into 'master'
Matthias Clasen [Mon, 8 Mar 2021 20:20:50 +0000 (20:20 +0000)]
Merge branch 'ngl-clip-classification' into 'master'

Ngl clip classification

See merge request GNOME/gtk!3274

5 years agoglsl: Make rounded rect clipping cheaper
Matthias Clasen [Mon, 8 Mar 2021 15:03:21 +0000 (10:03 -0500)]
glsl: Make rounded rect clipping cheaper

Add early acceptance checks for non-corner cases.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 8 Mar 2021 13:38:12 +0000 (13:38 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Revert "ngl: Remove a few redundant checks"

See merge request GNOME/gtk!3273

5 years agoRevert "ngl: Remove a few redundant checks"
Matthias Clasen [Mon, 8 Mar 2021 13:10:25 +0000 (08:10 -0500)]
Revert "ngl: Remove a few redundant checks"

This reverts commit 4375f8e382ef035d970dd255f56d1a7470c1a78c.

These were not redundant after all, as pointed out by Timm.

5 years agoAdd some more rounded rect tests
Matthias Clasen [Mon, 8 Mar 2021 02:28:19 +0000 (21:28 -0500)]
Add some more rounded rect tests

5 years agogsk: Use clip defines in shaders
Matthias Clasen [Sun, 7 Mar 2021 22:51:42 +0000 (17:51 -0500)]
gsk: Use clip defines in shaders

Use the NO_CLIP and RECT_CLIP defines to make
simpler shaders for these cases.

Note: This does not work yet.

5 years agongl: Add infrastructure for clip-variants of shaders
Matthias Clasen [Sun, 7 Mar 2021 22:50:19 +0000 (17:50 -0500)]
ngl: Add infrastructure for clip-variants of shaders

Make ngl compile each shader three times.
Once with #define NO_CLIP 1
once with #define RECT_CLIP 1
and once as before.

5 years agongl: Classify clips
Matthias Clasen [Sun, 7 Mar 2021 15:02:46 +0000 (10:02 -0500)]
ngl: Classify clips

Maintain the 'fully contained' information in the clip
stack. This will let us pick simpler shaders in the future.

5 years agoMerge branch 'ebassi/iface-macros' into 'master'
Matthias Clasen [Sun, 7 Mar 2021 20:22:14 +0000 (20:22 +0000)]
Merge branch 'ebassi/iface-macros' into 'master'

Remove invalid class macros

See merge request GNOME/gtk!3270

5 years agoMove gtk_rounded_rect_scale_affine to the right place
Matthias Clasen [Sun, 7 Mar 2021 19:35:44 +0000 (14:35 -0500)]
Move gtk_rounded_rect_scale_affine to the right place

This function should live with the rest of the
GskRoundedRect code in gskroundedrect.c.

5 years agoimcontext: Fix a docs mishap
Matthias Clasen [Sun, 7 Mar 2021 20:16:04 +0000 (15:16 -0500)]
imcontext: Fix a docs mishap

5 years agog-i: update distribute_natural_allocation annotation
Bilal Elmoussaoui [Sun, 7 Mar 2021 19:59:01 +0000 (20:59 +0100)]
g-i: update distribute_natural_allocation annotation

5 years agoMerge branch 'bilelmoussaoui/gi-annotations' into 'master'
Matthias Clasen [Sun, 7 Mar 2021 19:46:59 +0000 (19:46 +0000)]
Merge branch 'bilelmoussaoui/gi-annotations' into 'master'

g-i: add missing since annotations for 4.2

See merge request GNOME/gtk!3268

5 years agog-i: add missing since annotations for 4.2
Bilal Elmoussaoui [Sun, 7 Mar 2021 15:51:38 +0000 (16:51 +0100)]
g-i: add missing since annotations for 4.2

5 years agoMerge branch 'scalable-svg' into 'master'
Matthias Clasen [Sun, 7 Mar 2021 18:43:50 +0000 (18:43 +0000)]
Merge branch 'scalable-svg' into 'master'

icons: Rename two icons which had the wrong extension

See merge request GNOME/gtk!3269

5 years agodocs: Remove invalid macros
Emmanuele Bassi [Sun, 7 Mar 2021 18:34:53 +0000 (18:34 +0000)]
docs: Remove invalid macros

5 years agotreesortable: Remove class check macro
Emmanuele Bassi [Sun, 7 Mar 2021 18:26:31 +0000 (18:26 +0000)]
treesortable: Remove class check macro

5 years agoorientable: Remove class macros
Emmanuele Bassi [Sun, 7 Mar 2021 18:25:55 +0000 (18:25 +0000)]
orientable: Remove class macros

5 years agocelleditable: Remove class cast check macro
Emmanuele Bassi [Sun, 7 Mar 2021 18:25:07 +0000 (18:25 +0000)]
celleditable: Remove class cast check macro

5 years agobuildable: Remove "class" macro
Emmanuele Bassi [Sun, 7 Mar 2021 18:23:23 +0000 (18:23 +0000)]
buildable: Remove "class" macro

5 years agoicons: Rename two icons which had the wrong extension
Emmanuel Gil Peyrot [Sun, 7 Mar 2021 17:58:57 +0000 (18:58 +0100)]
icons: Rename two icons which had the wrong extension

Fixes two warnings when opening the inspector on my PinePhone, these two
files were attempted to be loaded as PNG (as per the extension) instead
of SVG.

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
5 years agoMerge branch 'ngl-misc-fixes' into 'master'
Christian Hergert [Sun, 7 Mar 2021 15:59:59 +0000 (15:59 +0000)]
Merge branch 'ngl-misc-fixes' into 'master'

Ngl misc fixes

See merge request GNOME/gtk!3267

5 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sun, 7 Mar 2021 15:26:09 +0000 (15:26 +0000)]
Update Latvian translation

(cherry picked from commit 1d62020a1912c410a24879922c34284f8a534e54)

5 years agongl: Treat radial gradients like others
Matthias Clasen [Sun, 7 Mar 2021 15:17:34 +0000 (10:17 -0500)]
ngl: Treat radial gradients like others

Handle colorstop overflow for radial gradients
the same way we do for linear and conic gradients.

5 years agongl: Remove a few redundant checks
Matthias Clasen [Sun, 7 Mar 2021 15:16:56 +0000 (10:16 -0500)]
ngl: Remove a few redundant checks

We bail early on invisible nodes. No need to
repeat that check in individual visit functions.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 7 Mar 2021 14:59:57 +0000 (14:59 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Revert "flatpak: No need to build sassc anymore"

See merge request GNOME/gtk!3266

5 years agoroundedrect: Remove unclear language from the docs
Matthias Clasen [Sun, 7 Mar 2021 14:04:43 +0000 (09:04 -0500)]
roundedrect: Remove unclear language from the docs

The various intersection function for rounded rects are
precise. No need to add wordy disclaimers about the handling
of the corners.

5 years agoRevert "flatpak: No need to build sassc anymore"
Matthias Clasen [Sat, 6 Mar 2021 21:00:03 +0000 (16:00 -0500)]
Revert "flatpak: No need to build sassc anymore"

This reverts commit 9a540841fd5c18394456a3dfcfde721a69ed4724.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sat, 6 Mar 2021 19:29:50 +0000 (19:29 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

vulkan: Add visible fallback rendering

See merge request GNOME/gtk!3264

5 years agoUpdate French translation
Guillaume Bernard [Sat, 6 Mar 2021 18:49:22 +0000 (18:49 +0000)]
Update French translation

(cherry picked from commit 5b18df9b5ebe2a8786c53a62b63ba84c1a1fd3a3)

5 years agoUpdate Serbian translation
Мирослав Николић [Sat, 6 Mar 2021 18:43:30 +0000 (18:43 +0000)]
Update Serbian translation

(cherry picked from commit b9a451423fe54e8f93fd39d8ef01f4fb835b4655)

5 years agoUpdate Korean translation
Changwoo Ryu [Sat, 6 Mar 2021 18:11:19 +0000 (18:11 +0000)]
Update Korean translation

(cherry picked from commit 60a714a25ff40a36f969b154d04036c56dbf067f)

5 years agoUpdate Catalan translation
Jordi Mas [Sat, 6 Mar 2021 08:44:50 +0000 (09:44 +0100)]
Update Catalan translation

5 years agovulkan: Handle simple transforms in the clipping code
Benjamin Otte [Sat, 6 Mar 2021 00:35:04 +0000 (19:35 -0500)]
vulkan: Handle simple transforms in the clipping code

Requires pushing the GskTransform into the clipping code so that we
can actually look at its category.

5 years agovulkan: Add visible fallback rendering
Matthias Clasen [Fri, 5 Mar 2021 23:39:22 +0000 (18:39 -0500)]
vulkan: Add visible fallback rendering

Hook up the "Show fallback rendering" switch for Vulkan.

This brings home the sobering truth that the Vulkan renderer
is doing *all* fallback, since we switched from offset nodes
to transform nodes.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 5 Mar 2021 20:30:54 +0000 (20:30 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!3263

5 years agosearchentry: Typo fix
Matthias Clasen [Thu, 4 Mar 2021 15:05:19 +0000 (10:05 -0500)]
searchentry: Typo fix

5 years agoflatpak: Fix the gtk4-demo build
Matthias Clasen [Fri, 5 Mar 2021 20:06:20 +0000 (15:06 -0500)]
flatpak: Fix the gtk4-demo build

This was overlooked in 8e7e821033abb291391c26aa288a8.

5 years agoMerge branch 'wip/exalm/window-shadow-dark-4' into 'master'
Matthias Clasen [Fri, 5 Mar 2021 19:41:39 +0000 (19:41 +0000)]
Merge branch 'wip/exalm/window-shadow-dark-4' into 'master'

Adwaita: Use transparent black for window border in dark too

See merge request GNOME/gtk!3261

5 years agoMerge branch 'wip/jimmac/fix-flatpak-build' into 'master'
Matthias Clasen [Fri, 5 Mar 2021 19:11:36 +0000 (19:11 +0000)]
Merge branch 'wip/jimmac/fix-flatpak-build' into 'master'

Flatpak: Update build manifests

See merge request GNOME/gtk!3259

5 years agoAdwaita: Use transparent black for window border in dark too
Alexander Mikhaylenko [Fri, 5 Mar 2021 17:59:25 +0000 (22:59 +0500)]
Adwaita: Use transparent black for window border in dark too

Avoid smear when the background behind the window is dark. Adjust opacity
to make it appear roughly the same as before on white background.

5 years agoMerge branch 'wip/jimmac/sidebar-focus' into 'master'
Matthias Clasen [Fri, 5 Mar 2021 17:17:04 +0000 (17:17 +0000)]
Merge branch 'wip/jimmac/sidebar-focus' into 'master'

Adwaita: Regular focus ring for sidebar rows

Closes #3708

See merge request GNOME/gtk!3258

5 years agoFlatpak: Update build manifests
Jakub Steiner [Fri, 5 Mar 2021 17:00:17 +0000 (18:00 +0100)]
Flatpak: Update build manifests

- point to the upstream repo for wayland
- disable disabling of sassc
- switch wayland from autotools to meson

5 years agoAdwaita: Regular focus ring for sidebar rows
Jakub Steiner [Fri, 5 Mar 2021 11:16:10 +0000 (12:16 +0100)]
Adwaita: Regular focus ring for sidebar rows

- style sidebar rows as regular items like buttons wrt focus
- define transition as part of the focus-ring(),
  only animate outline related properties rather than `all`

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3708

5 years agoUpdate Indonesian translation
Kukuh Syafaat [Fri, 5 Mar 2021 11:52:39 +0000 (11:52 +0000)]
Update Indonesian translation

(cherry picked from commit e54dc87a152aa7379aa015e9fc5ea3aaa793c231)

5 years agoMerge branch 'iconbrowser-fix' into 'master'
Matthias Clasen [Fri, 5 Mar 2021 01:11:11 +0000 (01:11 +0000)]
Merge branch 'iconbrowser-fix' into 'master'

iconbrowser: fix search<>category interaction

Closes #3717

See merge request GNOME/gtk!3257

5 years agoiconbrowser: fix search<>category interaction
Matthias Clasen [Thu, 4 Mar 2021 21:13:46 +0000 (16:13 -0500)]
iconbrowser: fix search<>category interaction

Make search act like a separate, filtered view of
all icons. This is how it worked in gtk3, and how
it should be.

Fixes: #3717
5 years agoMerge branch 'preedit-selection-fix' into 'master'
Matthias Clasen [Thu, 4 Mar 2021 22:48:25 +0000 (22:48 +0000)]
Merge branch 'preedit-selection-fix' into 'master'

Preedit selection fix

Closes #1123

See merge request GNOME/gtk!3255

5 years agotextview: Delete selection when preedit starts
Matthias Clasen [Thu, 4 Mar 2021 19:55:40 +0000 (14:55 -0500)]
textview: Delete selection when preedit starts

This prevents confusing misrendering when the preedit text
pushes the selection text out of the rendered selection.

Fixes: #1123
5 years agotextview: Send anchor with surrounding
Matthias Clasen [Thu, 4 Mar 2021 19:46:46 +0000 (14:46 -0500)]
textview: Send anchor with surrounding

We have the api to do it now.

5 years agotext: Optimize away 0-change insertions and deletions
Matthias Clasen [Thu, 4 Mar 2021 19:14:09 +0000 (14:14 -0500)]
text: Optimize away 0-change insertions and deletions

We can short-circuit insert and delete calls that are
not causing any change.

5 years agotext: Delete selection when preedit starts
Matthias Clasen [Thu, 4 Mar 2021 19:49:14 +0000 (14:49 -0500)]
text: Delete selection when preedit starts

This prevents confusing misrendering when the preedit text
pushes the selection text out of the rendered selection.

Fixes: #1123
5 years agotext: Send anchor with surrounding
Matthias Clasen [Thu, 4 Mar 2021 19:48:28 +0000 (14:48 -0500)]
text: Send anchor with surrounding

We have the api to do it now.

5 years agoimwayland: Pass anchor with surrounding
Matthias Clasen [Thu, 4 Mar 2021 18:30:55 +0000 (13:30 -0500)]
imwayland: Pass anchor with surrounding

This was missing in the initial implementation since
GtkIMContext did not have it in its api, but it was
added now, so we can send the information.

5 years agoimmulticontext: Implement [gs]et_surrounding_with_selection
Matthias Clasen [Thu, 4 Mar 2021 20:14:52 +0000 (15:14 -0500)]
immulticontext: Implement [gs]et_surrounding_with_selection

This is the recommended api, going forward.

5 years agoimcontext: Add [gs]et_surrounding_with_selection
Matthias Clasen [Thu, 4 Mar 2021 18:27:38 +0000 (13:27 -0500)]
imcontext: Add [gs]et_surrounding_with_selection

The Wayland text protocol expects to get both ends
of the selection with its surrounding call, so make
that available via GtkIMContext. We add this as new
api and vfuncs, and fall back, so that existing
implementations keep working.

5 years agoMerge branch 'wip/chergert/remove-zero-suffix-array' into 'master'
Matthias Clasen [Wed, 3 Mar 2021 21:53:27 +0000 (21:53 +0000)]
Merge branch 'wip/chergert/remove-zero-suffix-array' into 'master'

ngl: remove unnecessary suffix array

See merge request GNOME/gtk!3254

5 years agoUpdate Catalan translation
Jordi Mas [Wed, 3 Mar 2021 21:31:04 +0000 (22:31 +0100)]
Update Catalan translation

5 years agongl: remove unnecessary suffix array
Christian Hergert [Wed, 3 Mar 2021 21:03:24 +0000 (13:03 -0800)]
ngl: remove unnecessary suffix array

We didn't end up using this in the final version, so we can just delete
it and avoid MSVC issues.

5 years agoMerge branch 'bilelmoussaoui/annotations-fix' into 'master'
Matthias Clasen [Wed, 3 Mar 2021 15:11:00 +0000 (15:11 +0000)]
Merge branch 'bilelmoussaoui/annotations-fix' into 'master'

update annotation of gtk_single_selection_get_selected_item

See merge request GNOME/gtk!3253

5 years agogtk: update annotation of gtk_single_selection_get_selected_item
Bilal Elmoussaoui [Wed, 3 Mar 2021 13:07:22 +0000 (13:07 +0000)]
gtk: update annotation of gtk_single_selection_get_selected_item

5 years agoMerge branch 'wip/exalm/headerbar-css' into 'master'
Matthias Clasen [Wed, 3 Mar 2021 13:11:22 +0000 (13:11 +0000)]
Merge branch 'wip/exalm/headerbar-css' into 'master'

Header bar CSS tweaks

See merge request GNOME/gtk!3252

5 years agoadwaita: Remove the nested headerbars hack
Alexander Mikhaylenko [Wed, 3 Mar 2021 12:35:15 +0000 (17:35 +0500)]
adwaita: Remove the nested headerbars hack

We clip the window now, it's not necessary anymore.

5 years agoadwaita: Remove headerbar sheen on backdrop
Alexander Mikhaylenko [Wed, 3 Mar 2021 12:33:42 +0000 (17:33 +0500)]
adwaita: Remove headerbar sheen on backdrop

It's gone from active windows since c9807f5afed5b6a10987905eea331b926f436017,
but was still there in backdrop.

5 years agoMerge branch 'label-mnemonic-fix' into 'master'
Matthias Clasen [Wed, 3 Mar 2021 12:00:37 +0000 (12:00 +0000)]
Merge branch 'label-mnemonic-fix' into 'master'

label: Fix markup parsing interactions

See merge request GNOME/gtk!3250

5 years agolabel: Fix markup parsing interactions
Matthias Clasen [Wed, 3 Mar 2021 03:30:11 +0000 (22:30 -0500)]
label: Fix markup parsing interactions

We were not handling mnemonics vs markup right
in all cases. Rewrite the _-stripping code to
do it during the link parsing, instead of as
a separate function. This avoids the issue of
stripping _ from attribute names in markup.

Add tests.

Fixes: 3706
5 years agoMerge branch 'fix-glyph-serialization' into 'master'
Matthias Clasen [Tue, 2 Mar 2021 20:31:09 +0000 (20:31 +0000)]
Merge branch 'fix-glyph-serialization' into 'master'

rendernode: Fix glyph serialization

Closes #3710

See merge request GNOME/gtk!3248

5 years agorendernode: Fix glyph serialization
Matthias Clasen [Tue, 2 Mar 2021 16:32:29 +0000 (11:32 -0500)]
rendernode: Fix glyph serialization

We serializing to a string of ASCII, we need to
escape some chars, such as '\' and '"'.

Fixes: #3710
5 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Tue, 2 Mar 2021 03:34:49 +0000 (03:34 +0000)]
Update Kazakh translation

(cherry picked from commit 62e9dff5361a805ac73ac7312791e090d3280399)

5 years agoMerge branch 'wip/chergert/fix-ngl-gles' into 'master'
Matthias Clasen [Tue, 2 Mar 2021 00:37:00 +0000 (00:37 +0000)]
Merge branch 'wip/chergert/fix-ngl-gles' into 'master'

ngl: fix typo from NGL rename

See merge request GNOME/gtk!3246

5 years agongl: fix typo from NGL rename
Christian Hergert [Mon, 1 Mar 2021 18:28:26 +0000 (10:28 -0800)]
ngl: fix typo from NGL rename

5 years agoMerge branch 'submodules' into 'master'
Matthias Clasen [Mon, 1 Mar 2021 16:01:25 +0000 (16:01 +0000)]
Merge branch 'submodules' into 'master'

Allow GTK4 to be added as a subproject

See merge request GNOME/gtk!3242

5 years agoMerge branch 'broadway-guint32' into 'master'
Matthias Clasen [Sat, 27 Feb 2021 23:16:28 +0000 (23:16 +0000)]
Merge branch 'broadway-guint32' into 'master'

broadway: Restore guint32 type for memory size

Closes #3702

See merge request GNOME/gtk!3244

5 years agobroadway: Restore guint32 type for memory size
Rafał Dzięgiel [Sat, 27 Feb 2021 22:43:01 +0000 (23:43 +0100)]
broadway: Restore guint32 type for memory size

guint32 is used as part of the protocol in broadway backend.
Memory size declared with it was mistakenly replaced with size_t type
which does not guarantee being 32bit on all platforms, leading to a crash.

5 years agoUpdate Finnish translation
Jiri Grönroos [Fri, 26 Feb 2021 12:09:44 +0000 (12:09 +0000)]
Update Finnish translation

(cherry picked from commit 3cb5a831e386bd26adba9089b09c200d2d38ea8a)

5 years agoAllow GTK4 to be added as a subproject
BogDan Vatra [Fri, 26 Feb 2021 07:27:02 +0000 (09:27 +0200)]
Allow GTK4 to be added as a subproject

5 years agoUpdate Turkish translation
Emin Tufan Çetin [Thu, 25 Feb 2021 14:28:49 +0000 (14:28 +0000)]
Update Turkish translation

5 years agoUpdate Turkish translation
Emin Tufan Çetin [Thu, 25 Feb 2021 14:02:50 +0000 (14:02 +0000)]
Update Turkish translation

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 25 Feb 2021 12:25:02 +0000 (12:25 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

imcontext: Fixes to the state machine

See merge request GNOME/gtk!3238

5 years agoMerge branch 'wip/carlosg/touchpad-gesture-devices' into 'master'
Matthias Clasen [Thu, 25 Feb 2021 12:23:26 +0000 (12:23 +0000)]
Merge branch 'wip/carlosg/touchpad-gesture-devices' into 'master'

gdk/wayland: Assign logical pointer to touchpad gesture events

See merge request GNOME/gtk!3240

5 years agoUpdate Finnish translation
Jiri Grönroos [Thu, 25 Feb 2021 10:46:35 +0000 (10:46 +0000)]
Update Finnish translation

(cherry picked from commit 0fd0b00ec9b5a886d37529b1018996c966fdd48f)

5 years agogdk/wayland: Assign logical pointer to touchpad gesture events
Carlos Garnacho [Wed, 24 Feb 2021 23:47:09 +0000 (00:47 +0100)]
gdk/wayland: Assign logical pointer to touchpad gesture events

These events don't make sense on physical devices (for starters, they
are relative to the logical pointer position). Use this device for
those events, also happens to be what the upper parts expect of them.

5 years agoMerge branch 'bilelmoussaoui/gdk-draw-context' into 'master'
Matthias Clasen [Wed, 24 Feb 2021 22:28:47 +0000 (22:28 +0000)]
Merge branch 'bilelmoussaoui/gdk-draw-context' into 'master'

gdk: drop the latest mention of DrawingContext

See merge request GNOME/gtk!3232

5 years agoimcontext: Fixes to the state machine
Matthias Clasen [Wed, 24 Feb 2021 18:31:31 +0000 (13:31 -0500)]
imcontext: Fixes to the state machine

It turns out that we we were sometimes emitting
preedit-end multiple times, and sometimes not at
all. Same for preedit-start. To fix this up, introduce
a in_compose_sequence flag, maintain it, and use it
in the right places.

After these changes, both

C-S-u 1 2 3 Enter
Compose a e

generate the right signals:

preedit-start, preedit-changed,..., preedit-end, commit

5 years agoMerge branch 'wip/carlosg/mark-settings-valid-again' into 'master'
Carlos Garnacho [Wed, 24 Feb 2021 16:12:13 +0000 (16:12 +0000)]
Merge branch 'wip/carlosg/mark-settings-valid-again' into 'master'

gdk/wayland: Make more matched settings from the portal as valid

See merge request GNOME/gtk!3236

5 years agogdk/wayland: Make more matched settings from the portal as valid
Carlos Garnacho [Wed, 24 Feb 2021 15:36:19 +0000 (16:36 +0100)]
gdk/wayland: Make more matched settings from the portal as valid

Commit 97b5fad1315 was a forward port from a gtk3 patch, but the hunk
was applied on the wrong bits of code.

Ensure the initialization paths also do mark settings read from the
portal as valid, so the checks for optional/newer settings actually have
the expected result. It is also desirable to mark settings as valid
after configuration changes (as that patch did effectively do), but not
enough to fix all situations.

5 years ago4.1.1
Matthias Clasen [Wed, 24 Feb 2021 01:58:58 +0000 (20:58 -0500)]
4.1.1

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 24 Feb 2021 01:57:47 +0000 (01:57 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

composetable: Remove some redundant code

See merge request GNOME/gtk!3234

5 years agoMerge branch 'wip/chergert/glproto' into 'master'
Matthias Clasen [Wed, 24 Feb 2021 01:14:14 +0000 (01:14 +0000)]
Merge branch 'wip/chergert/glproto' into 'master'

gsk: add OpenGL based GskNglRenderer

See merge request GNOME/gtk!3225

5 years agoUpdated Galician translations
Fran Dieguez [Wed, 24 Feb 2021 00:51:12 +0000 (01:51 +0100)]
Updated Galician translations

5 years agocomposetable: Remove some redundant code
Matthias Clasen [Wed, 24 Feb 2021 00:14:26 +0000 (19:14 -0500)]
composetable: Remove some redundant code

Pointed out by Peter Bloomfield.

5 years agoinspector: Fix a typo
Matthias Clasen [Tue, 23 Feb 2021 23:37:32 +0000 (18:37 -0500)]
inspector: Fix a typo

When selecting the "ngl" renderer, the inspector was
saying Renderer: Unknown, due to a typo. Fix that.